package it.hopeless.jee6.hello;

import javax.ejb.Stateless;
import javax.inject.Named;
import javax.annotation.PostConstruct;

@Named("hello")
@Stateless
public class HelloService {

    private String hello = "Hello Boy";

    @PostConstruct
    public void create(){
        hello = "Hello Boy Created";
    }

    public String getHello(){
        return hello;
    }
}
